package com.atguigu.gmall.oms.vo;


import com.atguigu.gmall.pms.entity.SkuAttrValueEntity;
import com.atguigu.gmall.sms.vo.ItemSaleVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderItemVo {
    private Long skuId;  //cart
    private String defaultImage;//skuEntity
    private String title;//skuEntity
    private List<SkuAttrValueEntity> saleAttrs;// 销售属性：此处为List<SkuAttrValueEntity>是方便渲染到前端页面，不保存到数据库pms_sku_attr_value
    private BigDecimal price;// 加入购物车时的价格
    private BigDecimal count;//cart
    private Integer weight;//重量//skuEntity
    private Boolean store = false; // 是否有货wms_ware_sku
    private List<ItemSaleVo> sales; // 营销信息:sms三个表，方法在gmall-sms,SkuBoundsController querySalesBySkuId

}
